@if (isSystemDataset()) {
  <ix-icon
    name="ix-truenas-logo-mark"
    [matTooltip]="'This dataset is used by the system' | translate"
    [fullSize]="true"
  ></ix-icon>
}

@if (dataset().apps?.length || isApps()) {
  @if (isApps()) {
    <ix-icon
      name="apps"
      [matTooltip]="'This dataset is used to store apps config and other container related data' | translate"
    ></ix-icon>
  } @else {
    <ix-icon
      name="apps"
      [matTooltip]="'This dataset is used by: {apps}' | translate: { apps: appNames() }"
    ></ix-icon>
  }
}

@if (dataset().vms?.length) {
  <ix-icon
    name="mdi-laptop"
    [matTooltip]="'This dataset is used by: {vms}' | translate: { vms: vmNames() }"
  ></ix-icon>
}

@if (hasShares()) {
  <ix-icon
    name="share"
    [matTooltip]="'This dataset has children with shares' | translate"
  ></ix-icon>
}

@if (dataset().smb_shares?.length) {
  <ix-icon
    name="ix-smb-share"
    [matTooltip]="'Dataset is shared via SMB' | translate"
  ></ix-icon>
}

@if (dataset().nfs_shares?.length) {
  <ix-icon
    name="ix-nfs-share"
    [matTooltip]="'Dataset is shared via NFS' | translate"
  ></ix-icon>
}

@if (dataset().iscsi_shares?.length) {
  <ix-icon
    name="ix-iscsi-share"
    [matTooltip]="'Dataset is shared via iSCSI' | translate"
  ></ix-icon>
}
